home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Guided Tour of Multimedia (Second Edition)
/
The Guided Tour of Multimedia (Second Edition).iso
/
trials
/
director
/
evalcopy
/
director.z
/
COMMPORT.RC
< prev
next >
Wrap
Text File
|
1994-06-02
|
2KB
|
53 lines
/*****************************************************************************
Macromedia CommPort XObject
Resource File for XMethTable
(c) Copyright 1993 Macromedia
All Rights Reserved
*****************************************************************************/
#include <windows.h>
XMethTable RCDATA
BEGIN
"-- CommPort External Factory. 01-Feb-93 PTM\0",
"CommPort\0",
"ISII mNew, PortName, IRecvBufSize, IXmitBufSize --Creates a new
instance\0",
"X mDispose --Disposes of XObject
instance\0",
"S mName --Returns name of XObject
(CommPort)\0",
"S mPortName --Returns name of port (e.g., COM1)\0",
"I mStatus --Returns numeric status of last method
call\0",
"SI mError, IErrorCode --Returns error string from error code\0",
"IIII mSetup, IBaudRate, lStopBits, lParity --Sets up the COM port\0",
"II mSetBaudRate, IBaudRate --Sets the baud rate\0",
"I mBaudRate --Returns the baud rate\0",
"II mSetDataBits, IDataBits --Sets the number of data bits\0",
"I mDataBits --Returns the number of data bits\0",
"II mSetStopBits, IStopBits --Sets the number of stop bits (10,15,20)\0",
"I mStopBits --Returns the number of stop bits\0",
"IS mSetParity --Sets parity
(Odd,Even,Mark,Space,None)\0",
"S mParity --Returns parity (as string)\0",
"IS mSetFlowCtl --Sets flow control
(XonXoff,Hardware,None)\0",
"S mFlowCtl --Returns flow control (as string)\0",
"II mWriteChar, ICharNum --Writes a single character\0",
"IS mWriteString, String --Writes a null-terminated string\0",
"I mWriteCount --Returns write count of last
transmission\0",
"I mWriteFlush --Flushes transmit buffer\0",
"I mReadChar --Reads a single character (returns
ASCII)\0",
"S mReadString --Reads a null-terminated string\0",
"I mReadCount --Returns a read count of pending
receive\0",
"I mReadFlush --Flushes the receive buffer\0",
"\0\0"
END